end;\r
CanClose :=\r
ValidateNumerical(edWayptRadius, 0, 99999) and\r
- ValidateNumerical(edWayptRadiusLat, -180, 180) and\r
- ValidateNumerical(edWayptRadiusLon, -90, 90) and\r
+ ValidateNumerical(edWayptRadiusLat, -90, 90) and\r
+ ValidateNumerical(edWayptRadiusLon, -180, 180) and\r
ValidateNumerical(edWayptMergeDist, 0, 99999999) and\r
ValidateNumerical(edRoutesSimplifyMaxPoints, 1, 9999);\r
ChangeCheckBoxesChecked(Self, False);\r